<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>访客查询</title>
</head>
<body>
	<div class="easyui-layout" data-options="fit:true">


		<div data-options="region:'center'"
			style="padding: 2px; border-left: none;">

			<div id="search_visiter">
				<span
					style="font-size: 15px; font-weight: bold; font-style: italic; text-decoration: underline;">时间查询：</span>
				<input  prompt="探访时间" class="easyui-datebox"  id="visitor_query_startDate"
				data-options="width:'15%'"> 至
				<input  prompt="探访时间" class="easyui-datebox"  id="visitor_query_endDate"
				data-options="width:'25%',buttonIcon:'icon-search',
				onClickButton:initVisitorTableByDate,buttonText:'搜索'">
				<a class="easyui-linkbutton" data-options="iconCls:'icon-search'"
				 onclick="initVisitorAll()">全部记录</a>
			</div>
			<table class="easyui-datagrid" id="visitor_query_Table"
				data-options="singleSelect:true,fitColumns: true, 
				nowrap: false,border:false,fit:true,rownumbers:true,toolbar:'#search_visiter',
				title:'访客信息',pagination:true,pageList: [20,30,40,50],pageSize: 20">
				<thead>
					<tr>
						<th data-options="field:'visitid',width:30,align:'center'">探望ID</th>
						<th data-options="field:'visittime',width:40,align:'center'">探望时间</th>
						<th data-options="field:'visitname',width:20,align:'center'">探望人姓名</th>
						<th data-options="field:'patientname6',width:15,align:'center'">病人姓名</th>
						<th data-options="field:'liveinrecordTable',width:30,align:'center',
						formatter:function(value){return value.liveid8;}" >住院号</th>
						<th data-options="field:'visitrelation',width:20,align:'center'">关系</th>
					</tr>
				</thead>
				<tbody>
				</tbody>
			</table>
		</div>
	</div>
</body>
</html>